﻿namespace PublicModels.APIObjs;

/// <summary>
/// 实时路况
/// </summary>
public class Traffic: APIObjBase
{
    public string? description { get; set; }

    public Evaluation? evaluation { get; set; }

    public List<RoadTraffic>? road_traffic { get; set; }
}

public class Evaluation
{
    public int status { get; set; }

    public string? status_desc { get; set; }
}

public class RoadTraffic
{
    public string? road_name { get; set; }

    public List<CongestionSection>? congestion_sections { get; set; }
}

public class CongestionSection
{
    public string? section_desc { get; set; }

    public int status { get; set; }

    public double speed { get; set; }

    public int congestion_distance { get; set; }

    public string? congestion_trend { get; set; }
}
